package io.dshubs.archives.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.dshubs.commons.tools.utils.DateUtils;
import io.dshubs.commons.tools.utils.TreeNode;
import lombok.Data;

import java.util.Date;

/**
 * @author tan 2021/9/3
 **/
@Data
public class ArchiveSpecialFeatureDto extends TreeNode {
    private static final long serialVersionUID = 1L;

    private Long id;

    private String userId;

    private String specialFeatureName;

    private Long pid;

    private String remark;

    private Integer delFlag;

    private Long updater;

    private Data updateDate;

    private Long creator;

    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date createDate;

}
